package zx.springcloud;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.ribbon.RibbonClient;
import org.springframework.cloud.netflix.ribbon.RibbonClients;
import zx.myrule.MySelRule;

/**
 * 消费者
 *
 * @author ZX
 * @date 2021/3/3
 */
@SpringBootApplication
/*@EnableEurekaClient*/
/*@RibbonClient(name = "http://CLOUD-PAYMENT-SERVICE",configuration = MySelRule.class)*/
@EnableDiscoveryClient
public class ConsumerOrder
{

    public static void main(String[] args)
    {
        SpringApplication.run(ConsumerOrder.class, args);

    }
}
